home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
qbfaqr01.zip
/
CAPS.QRM
< prev
next >
Wrap
Text File
|
1992-05-31
|
2KB
|
35 lines
===========================================================================
BBS: PC Connect
Date: 05-30-92 (03:36) Number: 11610
From: GEORGE STEINMETZ Refer#: 11552
To: PHIL HODGES Recvd: NO
Subj: &H ?!??!!! Conf: (11) R-QBasic
---------------------------------------------------------------------------
PH>Turn CAPS lock off
PH> DEF SEG = &H40 'this part makes some sense
PH> POKE &H17, PEEK (&H17) OR 171 ' ?!?!
PH> ^^^
PH> According to the file: |-----------------|
PH> |
PH> &H17 Byte 1; |
PH> . |
PH> . |
PH> &H40 - Caps Lock has been toggled |
PH> . |
PH> . |
PH> Byte 2; |
PH> &H40 - Caps lock key is depressed |
PH> |
PH> Now WHERE does the 171 come in!? --------
PH> and what's the Byte 1 and 2 ?!
It doesn't. Somebody was programming way past his bedtime.
Use POKE &H17, PEEK (&H17) OR &H40 to turn Caps Lock on and
POKE &H17, PEEK (&H17) AND (&HFF - &H40) to turn it off.
---
■ OLX 2.1 TD ■ I idiot-proof my programs,but along comes a bigger idiot.
PCRelay:OTHER -> #1413 RelayNet (tm)
4.11 The Other BBS 908-775-6705 New User Support